Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

297
Visualizações
An internal error occurred during: "Retrieving archetypes:". Java heap space when creating new Maven project

I am starting to learn Spring, So i am creating to new Maven project in eclipse.

When i am trying to create a new Maven project , then it tries to retrieve archetype and gives the error

"An internal error occurred during: "Retrieving archetypes:"
Java heap space

Error window when creating maven project

Steps that i followed : New -> Maven Project -> use default worksppace location (checked) and click Next -> waiting for retrieving archetype and error occurs.

I have attached the screen shot for reference.

Note : I have been trying to resolve this for hours, searched google and stack exchange, changed -Xmx size to 1024m from 512m in elclipse.ini file and tried to restart the eclipse, but that time eclipse refused to launch. Also 'Window -> Preferences -> Maven -> Download repository updates index on startup' is NOT enabled in my eclpise as suggested in other answer to similar question in stackoverflow to disable it.

Please help me out with this.

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

As suggested by Jorge Campos in the comments above, I increased Eclipse's PermGen space. On eclipse.ini add these parameters and restart Eclipse:

-XX:PermSize=512M 
-XX:MaxPermSize=6144M 

Its working now.

over 4 years ago · Santiago Trujillo Relatório

0

Just clear your data in eclipse.ini copy paste below code into it since your default memory is lesser than required, it is not able to retrieve archetype

-----------------------eclipse.ini---------------------------

-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=512m
-Xms512m
-Xmx6144m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts  

over 4 years ago · Santiago Trujillo Relatório

0

Switching the Workspace fixed it for me. File | Switch Workspace

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda